import math
class Circle(object):
    def __init__ (self,r):
        self.r=r
    def area(self):
        return math.pi*math.pow(self.r,2)

    def circum(self):
        return math.pi * 2*self.r
if __name__ == '__main__':
         r=int(input('请输入圆的边长'))
         a=Circle(r)
         print(a.area())
         print(a.circum())